package com.sinocare.project.common.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sinocare.project.common.domin.SccPatient;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SccResult implements Serializable {
    private static final long serialVersionUID = 7524570805914780762L;
    private String name;//姓名
    private String phone;//手机号
    private Integer sex;//性别
    private Integer age;//年龄
    private Double weight;//体重
    private Double height;//身高
    private Integer resultId;//检测结果id
    private Integer patientId;//检测者id
    private Integer surveyorId;//检测人员id
    private Double bmiResult;//BMI
    private Double gluResult;//血糖
    private Integer gluFoodStatus;//饮食状态
    private Double hbaicResult;//血红蛋白
    private Integer uaResult;//血尿酸
    private Double hdlCResult;//高密度脂蛋白胆固醇
    private Double ldlCResult;//低密度脂蛋白胆固醇
    private Double tgResult;//甘油三脂
    private Double cholResult;//总胆固醇
    private Double tcHdlCResult;//总胆/高密比值
    private Double ketResult;//血酮
    private Integer sbpResult;//收缩压
    private Integer dbpResult;//舒张压
    private Integer count;
    private String storeCode;
    private String storeName;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date createTime;//创建时间

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date updateTime;//修改时间

     @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date testTime;//检测时间

    private Integer status;//状态
    private String remark;//备注


}
